<?php
$s = 'iEJqak3pjIaZ0NzLiITLwWTqzqGAtW2oyOTq1A3pzqas';

function encode($str){
	$_ = '';
	$_o = strrev($str);
	for($_0=0;$_0<strlen($_o);$_0++){
		$_c = substr($_o,$_0,1);
		$__ = ord($_c)+1;
		$_c = chr($__);
		$_ = $_.$_c;
	}
	return str_rot13(strrev(base64_encode($_)));
}

function decode($str){
	$_ = '';
	$_o = base64_decode(strrev(str_rot13($str)));
	for($_0=0;$_0<strlen($_o);$_0++){
		$_c = substr($_o,$_0,1);
		$__ = ord($_c)-1;
		$_c = chr($__);
		$_ = $_.$_c;
	}
	return strrev($_);
}

echo decode($s);
//echo encode('1234567');
?>
